﻿using System.Web.Optimization;

namespace ZBJF.Warranty.AdminSite
{
    public class BundleConfig
    {
        // 有关绑定的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/Jquery/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/JqueryValidate/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/layer").Include(
                       "~/Scripts/Layer/layer.js"));

            bundles.Add(new ScriptBundle("~/bundles/datatable").Include("~/Scripts/DataTable/jquery.dataTables.js",
               "~/Scripts/DataTable/jquery.dataTables.bootstrap.js", "~/Scripts/DataTable/jquery.resizableColumns.js"));

            bundles.Add(new ScriptBundle("~/bundles/wdate").Include("~/Scripts/My97DatePicker/WdatePicker.js"));
            bundles.Add(new ScriptBundle("~/bundles/common").Include("~/Scripts/stringbuilder.js", "~/Scripts/Common.js", "~/Scripts/operate.js"));

            bundles.Add(new ScriptBundle("~/bundles/permission").Include("~/Scripts/permission.js"));

            bundles.Add(new ScriptBundle("~/bundles/chosen").Include("~/Scripts/jquery.chosen.js"));
            bundles.Add(new ScriptBundle("~/bundles/uploadify").Include("~/Scripts/uploadify/jquery.uploadify.js"));

            bundles.Add(new ScriptBundle("~/bundles/ImagePreview").Include("~/Scripts/jquery.imagePreview.js"));

            bundles.Add(new ScriptBundle("~/bundles/autocomplete").Include("~/Scripts/jquery.autocomplete.js"));
            //五星评分（可定义星级）
            bundles.Add(new ScriptBundle("~/bundles/StarRaty").Include("~/Scripts/StarRaty/jquery.raty.js", "~/Scripts/StarRaty/StarRaty.js"));

            // 使用要用于开发和学习的 Modernizr 的开发版本。然后，当你做好
            // 生产准备时，请使用 http://modernizr.com 上的生成工具来仅选择所需的测试。
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/BootStrap/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap/bootstrap.css",
                      "~/Content/site.css", "~/Content/layout.css"));

            bundles.Add(new StyleBundle("~/Content/login").Include("~/Content/login/Login.css"));

            bundles.Add(new StyleBundle("~/Content/font-awesome").Include("~/Content/css/font-awesome.css"));

            bundles.Add(new StyleBundle("~/Content/datatable").Include(
                     "~/Content/css/jquery.dataTables.css"));

            bundles.Add(new StyleBundle("~/Content/chosen").Include(
                  "~/Content/css/chosen.css"));
            //评分
            bundles.Add(new StyleBundle("~/Content/StarRaty").Include(
                   "~/Content/css/star.raty.css"));

            bundles.Add(new StyleBundle("~/Content/autocomplete").Include(
                   "~/Content/css/autocomplete.css"));
            
        }
    }
}
